package site.wanjiahao;

import org.junit.jupiter.api.Test;

import java.nio.file.Path;
import java.nio.file.Paths;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

public class Main {

    @Test
    public void test() {
        // 格式化时间
        System.out.println(LocalDate.now().format(DateTimeFormatter.ofPattern("yyyyMMdd")));
    }

    @Test
    public void test1() {
        Path upload = Paths.get("D:/study/Java/javaRevise/qiyuesuo/server/target/classes/", "upload");

        System.out.println(upload.toString());
    }



}
